package com.lytfly.flowable.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lytfly.flowable.entity.Personal;
import com.lytfly.flowable.service.IPersonalService;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;


/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author bruce.liu
 * @since 2021-04-12
 */
@Lazy
@Service
public class PersonalServiceImpl implements IPersonalService {

    @Override
    public boolean saveBatch(Collection<Personal> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<Personal> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<Personal> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(Personal entity) {
        return false;
    }

    @Override
    public Personal getOne(Wrapper<Personal> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<Personal> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<Personal> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public BaseMapper<Personal> getBaseMapper() {
        return null;
    }

    @Override
    public Class<Personal> getEntityClass() {
        return null;
    }

    @Override
    public List<Personal> getPersonalsByCodeList(List<String> userCodeList) {

        return new ArrayList<>();
    }

    @Override
    public Personal getPersonalByCode(String expressionValue) {
        Personal personal = new Personal();
        personal.setDeptId("1001");
        return personal;
    }

    @Override
    public List<Personal> getPersonalsByRoleGroupCodeList(List<String> candidateGroups) {
        return new ArrayList<>();
    }
}
